﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsTest.BusiManager
{
    public partial class StorageManager : MainTabUserContorl
    {
        string[][] initData = new string[][] { new string[] { "SZ_A", "深圳仓库A", "A区", "是", "深圳福田" }, new string[] { "HK_B", "香港仓库B", "B区", "否", "香港九龙" } };
        public StorageManager()
        {
            InitializeComponent();

            
            this.dataGridView1.Rows.Add();
            for (int i = 0; i < initData.Length; i++)
            {
                for (int j = 0; j < initData[0].Length; j++)
                {
                    this.dataGridView1.Rows[i].Cells[j].Value = initData[i][j];
                }

            }
        }

        private void label15_Click(object sender, EventArgs e)
        {

        }

        private void button10_Click(object sender, EventArgs e)
        {
            this.splitContainer1.Panel2Collapsed = false;
        }

        private void button9_Click(object sender, EventArgs e)
        {
            this.splitContainer1.Panel2Collapsed = true;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.splitContainer1.Panel2Collapsed = false;
        }

        private void splitContainer2_Panel1_Paint(object sender, PaintEventArgs e)
        {

        }
    }
}
